#ifndef _PAGELIB_H_
#define _PAGELIB_H_

#include "DirScanner.h"
#include "FileProcessor.h"
#include <fstream>
#include <map>
#include <utility>

using std::map;
using std::ofstream;
using std::pair;

class PageLib {
  public:
    PageLib();
    void create();
    void store();

  private:
    DirScanner _dirScanner;
    FileProcessor _filePro;
    vector<string> _pages;
    map<int, pair<int, int>> _offsetLib;
};

#endif